package com.property.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("t_option")
public class Option {

    @TableId
    @Schema(description = "主键")
    private String id;

    @Schema(description = "问卷id")
    @TableField("q_id")
    private String qid;

    @Schema(description = "问题id")
    private String queId;

    @Schema(description = "选项名称")
    private String optionName;

    @Schema(description = "选项内容")
    private String optionContent;

    @TableLogic(value = "0", delval = "1")
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "删除标识")
    private String deleteFlag;

}
